// (C) Szymon Piechowicz, February 2012

#ifndef __OBSTACLE_DETECTOR_H__
#define __OBSTACLE_DETECTOR_H__


#include <stdbool.h>


typedef void (*obstacle_detector_obstacle_callback)(bool is_obstacle_detected);


void obstacle_detector_init(void);

void obstacle_detector_start(obstacle_detector_obstacle_callback callback);
void obstacle_detector_stop(void);


#endif